From: bors Date: Tue, 11 Jul 2017 19:13:22 +0000 (+0000) Subject: Auto merge of #4259 - matklad:conventions, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~8^2~10 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=1566c92b5d28e435613918e59dc94755f99d73b1;p=cargo.git Auto merge of #4259 - matklad:conventions, r=alexcrichton Conventions r? @alexcrichton I'd love to refactor our handing of inferring targets by convention, because it is super difficult to understand, and quite probably contains a couple of unintended/undocumented conventions (like `src/foo.rs` being a binary `foo` if there's no library in the package). As a first step, I've just moved all the logic (600 loc) to a separate file from the `toml.rs` file, which used to be just **huge** (we even use in in IntelliJ Rust for performance testing :) ), and now it is "only" just above 1kloc :) --- 1566c92b5d28e435613918e59dc94755f99d73b1